package behavior.command;

/**
 * @author dali
 * @date 2021-07-22 17:14
 * @Description
 */

public class Client {
    public static void main(String[] args) {
        //创建王老板
        RobotInvoker wang = new RobotInvoker();
        //命令初始化
        wang.addCommand(new SingCommand());
        wang.addCommand(new DanceCommand());
        wang.addCommand(new MakeFryCommand());
        //执行命令
        wang.execute();
    }
}
